persist credentials retrieved through the wizard
authorJyrki Gadinger <nilsding@nilsding.org>
Fri, 17 Jan 2025 13:28:11 +0000 (14:28 +0100)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 24 Jan 2025 14:07:16 +0000 (15:07 +0100)
commit75fdfea2126c2425859ff57cc56e17daddf1080d
tree569c65addadd042f7f799c4508ae97934dfd8ee2
parentaf2027d040c29ac5ddd6ebd260379c3a5d840b89
persist credentials retrieved through the wizard

When setting up an account through the wizard for the first time, the
credentials are not saved properly.  This requires the user to sign in
again after an application restart.

At least for the login flow v2 case, the `WebFlowCredentials` class
eventually persists the retrieved credentials, whereas the class used
within the wizard (`OCC::Flow2AuthCredsPage`) doesn't.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
src/gui/creds/webflowcredentials.cpp
src/gui/owncloudsetupwizard.cpp